﻿using System;
using System.Text;
using ProjScan.Tools;
using UnityEditor;
using UnityEngine;

namespace ProjScan.RecordManager.AssetData
{
	// Token: 0x020002A0 RID: 672
	internal class ModelAssetData : ImportAssetData<GameObject, ModelImporter>
	{
		// Token: 0x06001187 RID: 4487 RVA: 0x00008686 File Offset: 0x00006886
		public ModelAssetData(int id) : base(id)
		{
		}

		// Token: 0x06001188 RID: 4488 RVA: 0x00008691 File Offset: 0x00006891
		public ModelAssetData(int id, string path, GameObject gameObject, ModelImporter modelImporter) : base(id, path, gameObject, modelImporter)
		{
			this.Init(id, path, gameObject, modelImporter);
		}

		// Token: 0x06001189 RID: 4489 RVA: 0x000086AC File Offset: 0x000068AC
		public ModelAssetData(int id, string path, string fileNameWithoutExtension, GameObject gameObject, ModelImporter modelImporter) : base(id, path, fileNameWithoutExtension, gameObject, modelImporter)
		{
			this.Init(id, path, gameObject, modelImporter);
		}

		// Token: 0x0600118A RID: 4490 RVA: 0x00002A20 File Offset: 0x00000C20
		private void Init(int id, string path, GameObject gameObject, ModelImporter modelImporter)
		{
		}

		// Token: 0x0600118B RID: 4491 RVA: 0x00051DE8 File Offset: 0x0004FFE8
		public override string GetCSVHeader()
		{
			return "Name,DirID";
		}

		// Token: 0x0600118C RID: 4492 RVA: 0x00052B00 File Offset: 0x00050D00
		public override string GetInfo()
		{
			StringBuilder stringBuilder = new StringBuilder();
			stringBuilder.Append(ToolsHelper.QuoteString(this.fileName));
			stringBuilder.Append(',');
			stringBuilder.Append(this.assetPathId);
			return stringBuilder.ToString();
		}
	}
}
